<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="__CSS__fileadd.css">
		<link rel="stylesheet" href="__CSS__commonc.css" />
		<script src="__JS__jquery.js"></script>
		<script src="__JS__index.js"></script>
		<title>个人主页</title>
	</head>

	<body>
		<include file="./Application/Home/View/Common/header.html" />

		<div class="content">
			<div class="content-left">
				<div class="content-left-hydt">
					<h3>好友动态</h3>
					<ul>
						<li>
							<a href="###">特别关心</a>
						</li>
						<li>
							<a href="###">与我相关</a>
						</li>
						<li>
							<a href="###">去年今天</a>
						</li>
						<li>
							<a href="###">我的收藏</a>
						</li>
					</ul>
				</div>
			</div>
			<div class="content-center">
				<div class="content-center-fb">
					<div>
						<textarea name="content" id="textarea" cols="50" rows="6" placeholder="把最美好的留下来!!!"></textarea>
					</div>
					<div class="content-center-tj">
						<input type="button" value="提交" class="fbdt">
						<div class="content-center-tj-kj">
							<p>
								可见范围:&nbsp; <span class="block"> <select name="isdisplay"
								id="isplay">
									<option value="1">对所有人可见</option>
									<option value="2">仅对好友可见</option>
									<option value="3">对指定人可见</option>
									<option value="4">对特别关心可见</option>
							</select>
							</span>
							</p>
						</div>
					</div>
				</div>
				<div class="dtbt">
					<h4>全部动态&nbsp;</h4>
				</div>
				<foreach name="moodList" item="vo">
					<if condition="$vo.isdisplay eq 1">
						<div class="content-center-cont">
							<div class="content-center-dt">
								<div class="dt-img-xx">
									<img src="{$vo.user_tx}" title="{$vo.title}">
								</div>
								<div class="user-info">
									<a href="" class="user-info-left">{$vo.nickname} </a>
									<if condition="$vo.uid eq resess()">
										<a href="###" class="user-info-right">删除</a>
									</if>
									<p>
										{$vo.create_time|timeval=###} <span>浏览({$vo.hits})</span>
									</p>
								</div>
								<div class="user-content">
									<p>{$vo.content}</p>
								</div>
								<!-- 点赞收藏回复等功能 -->
								<ul class="gzgn">
									<li>
										<a href="###" class="dianzan" urll="{:U('Dianzan/adddianzan')}"><if condition="$vo['iszan'] eq 1">取消赞<else />赞</if></a>|</li>
										<input type="hidden" name="mid" id="mid" title="{$vo.id}" />
									<li>
										<a href="###">评论</a>|</li>
									<li>
										<a href="###">转发</a>|</li>
									<li>
										<a href="###">收藏</a>|</li>
									<li>
										<a href="###">....</a>
									</li>
									<!-- 回复 -->
									<foreach name="vo.hf" item="v">
										<notempty name="v">
											<li class="mood-hf">
												<div class="hf-user">
													<div class="u-avatar">
														<img src="{$v.user_tx}" title="{$v.niackname}" />
													</div>
													<div class="u-hfnr">
														<a href="###" class="hf-user-nick" style="width: 56px; line-height: 20px; color: #295c9d; font-size: 12px;">{$v.nickname}</a>: <span class="cont-mood" >{$v.content}</span>
														<p class="hf-sj">
															<span class="hf-rq">{$v.create_time|timeval=###}</span>
															<a class="cont-reply" style="line-height: 20px; color: #295c9d; font-size: 12px;">回复</a>
														</p>
													</div>
												</div>
											</li>
										</notempty>
									</foreach>
									<!-- 回复 -->
									<!-- 点赞收藏回复等功能 -->
									<!--点赞人的头像-->
									<li class="mood-jdz">
										<div class="icon-btn" style="background:url('__IMG__/xtb.jpg'); background-position: 99px 601px;">
											
										</div>
										<foreach name='vo.zan' item='z'>
											<img src="{$z.user_tx}" alt="" class="zanimg" db="{$z.uid}"/>
										</foreach>
									</li>
									<!--点赞人的头像-->
									<li class="hf"><textarea name="" id="" cols="10" rows="10" placeholder="你也说点吧" class='mood-hf-cont '></textarea> <input type="button" value="发布" class='mood-hf-btn' data-url='{:U("Moodreply/addReply")}'> <input type="hidden" value="{$vo.id}" name="mid" id="mood-mid" /></li>
								</ul>
							</div>
						</div>
					</if>
				</foreach>
			</div>
			<div class="content-right"></div>
		</div>
		<input type="hidden" name="xuanxiang" id='uid' title="{$Think.session.user_id}" />
		<input type="hidden" name="urll" id="urll" data-url="{:U('Mood/addMood')}" />
	</body>

</html>